package arong.com.mvpproject.biz;

import java.util.ArrayList;

/**
 * Created by My on 2016/5/11.
 */
public class OnRequstBizIml implements RequstBiz {
    @Override
    public void onResult(final OnRequstListener listener) {
         new  Thread(new Runnable() {
             @Override
             public void run() {
             try {
                     Thread.sleep(500);
                 ArrayList<String>  arr=new ArrayList<String>();
                 for (int i=0;i<50;i++){
                     arr.add("item:"+i);
                 }
                 listener.success(arr);
                 } catch (InterruptedException e) {
                     e.printStackTrace();
                 }

             }
         }).start();
    }
}
